package com.ranyk.www.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ranyk.www.entity.Organization;
import com.ranyk.www.support.page.PageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * CLASS_NAME: OrganizationMapper.java <br/>
 *
 * @author ranyk           <br/>
 * @version V1.0           <br/>
 * @decription: 组织表 数据访问层接口     <br/>
 * @date: 2022-04-03 <br/>
 */
@Mapper
@Repository
public interface OrganizationMapper extends BaseMapper<Organization> {
	
	/**
	 * 根据分页信息/搜索内容查找组织列表
	 * @param pageInfo 分页信息
	 * @param search 搜索内容
	 * @param rowBounds 分页实体
	 * @return 返回查询结果 List 集合,单个实体对象参见 {@link Organization}
	 */
	List<Organization> listByPage(@Param("pageInfo") PageInfo pageInfo, @Param("search") String search, RowBounds rowBounds);
}